/** 
 * Copyright (C), 2010-2012, TIETIAO Software Co.,Ltd. ALL RIGHTS RESERVED. 
 * File name:PropertyUtil.java
 * Version:1.0
 * Date:2011-6-21
 * Description: PropertyUtil工具类
 * author:zhijian.zhang
 */
package com.tietiao.common.util;

import java.util.Map;

public class PropertyUtil {

	@SuppressWarnings("unchecked")
	private final static Map<String, String> globalProperties = (Map<String, String>) BeanFactory
			.getBean("properties");

	/**
	 * 功能：读取全局配置值
	 * 
	 * @author: zhijian.zhang
	 * @Date: 2011-7-11
	 * 
	 * @param key
	 * @return
	 */
	public static String getValue(String key) {
		return globalProperties.get(key);
	}

}
